package com.hunan.yllxy.config;

import com.hunan.yllxy.util.QiniuUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * @Author: 刘华
 * @Date: 2025/7/1 下午6:20
 * @Version 1.0
 */
@Component
@Slf4j
public class QiniuConfigruation {
    @Bean
    @ConditionalOnMissingBean
    public QiniuUtil qiniuUtil(){
        log.info("七牛云启用'''''''''''''");
        return new QiniuUtil();
    }
}
